<?php

namespace Xrfg\Core\Trading\Account\Models;

use Illuminate\Database\Eloquent\Model;

/**
 * Xrfg\Core\Trading\Account\Models\CoinIntroduce.
 *
 * @property int                                    $id
 * @property int                                    $coin_id    币种id
 * @property float                                  $price      众筹价格
 * @property string                                 $paper      白皮书
 * @property string                                 $website    官网
 * @property string                                 $hash       区块查询
 * @property string                                 $introduce  简介
 * @property string|null                            $created_at
 * @property string|null                            $updated_at
 * @property \Xrfg\Core\Trading\Account\Models\Coin $coin
 *
 * @method static \Illuminate\Database\Eloquent\Builder|\Xrfg\Core\Trading\Account\Models\CoinIntroduce newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\Xrfg\Core\Trading\Account\Models\CoinIntroduce newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\Xrfg\Core\Trading\Account\Models\CoinIntroduce query()
 * @method static \Illuminate\Database\Eloquent\Builder|\Xrfg\Core\Trading\Account\Models\CoinIntroduce whereCoinId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\Xrfg\Core\Trading\Account\Models\CoinIntroduce whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\Xrfg\Core\Trading\Account\Models\CoinIntroduce whereHash($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\Xrfg\Core\Trading\Account\Models\CoinIntroduce whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\Xrfg\Core\Trading\Account\Models\CoinIntroduce whereIntroduce($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\Xrfg\Core\Trading\Account\Models\CoinIntroduce wherePaper($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\Xrfg\Core\Trading\Account\Models\CoinIntroduce wherePrice($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\Xrfg\Core\Trading\Account\Models\CoinIntroduce whereUpdatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\Xrfg\Core\Trading\Account\Models\CoinIntroduce whereWebsite($value)
 * @mixin \Eloquent
 */
class CoinIntroduce extends Model
{
    public $table = 'trading_coin_introduce';
    public $timestamps = false;

    public function coin()
    {
        return $this->belongsTo(Coin::class);
    }
}
